
public class Main {
	
		public static void main(String[] args) {
			Stack stack = new Stack();
			stack.push("a");
			stack.push("b");
			stack.push("c");
			stack.print();
			System.out.println();
			System.out.println(stack.search("a"));
			System.out.println(stack.peek());
			System.out.println(stack.getSize());
			System.out.println(stack.pop());
			System.out.println(stack.getSize());
			System.out.println(stack.pop());
			System.out.println(stack.getSize());
			System.out.println(stack.pop());
			System.out.println(stack.getSize());
			System.out.println(stack.pop());
		
			
			
		}
	}


